<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>jQuery使用</title>
		<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
      <script>
      	function showImg(){
      	  $("#myimage").show();	
      	  //document.getElementById("myimage")
      	}
      	function hideImg(){
      	  $("#myimage").hide();	
      	  //document.getElementById("myimage")
      	}
      </script>
	</head>
	<body>
	  <img id="myimage" src="img/17.jpg" />
	  <br>
	  <button onclick="showImg()">显示图片</button>
	  <button onclick="hideImg()">隐藏图片</button>
	</body>
</html>
